package com.hycreate.platform.modules.sys.utils;

/**
 * 下拉框工具类
 * @author hy
 *
 */
public class SelectUtils {
//	private static BaseFeeDao baseFeeDao = SpringContextHolder.getBean(BaseFeeDao.class);
//	private static BaseUnitDao baseUnitDao = SpringContextHolder.getBean(BaseUnitDao.class);
//	
//	/**
//	 * 查询费率信息
//	 * @return
//	 */
//	public static List<BaseFee> getBaseFeetList(String feeType){
//		List<BaseFee> baseFeeList = Lists.newArrayList();
//		BaseFee baseFee = new BaseFee();
//		baseFee.setFeeType(feeType);
//		baseFeeList = baseFeeDao.findList(baseFee);
//		//百分比转化
//		for(BaseFee b:baseFeeList){
//			b.setFee(NumberHandle.NumberToPercent(Double.valueOf(b.getFee())));
//		}
//		return baseFeeList;
//	}
//	
//	/**
//	 * 查询业主单位信息,施工方
//	 * @return
//	 */
//	public static List<BaseUnit> getBaseUnitList(){
//		BaseUnit baseUnit = new BaseUnit();
//		List<BaseUnit> list = Lists.newArrayList();
//		list.add(baseUnit);
//		list.addAll(baseUnitDao.findAllList(baseUnit));
//		return list;
//	}
}
